package com.lagou.rocket.entity;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

@Data
@Entity
@Table(name = "rk_warehouse")
public class Warehouse implements Serializable {
    private static final long serialVersionUID = -479240098739750646L;
    @Id
    @Column(name = "id")
    private String id;
    @Column(name = "name")
    private String name;
    @Column(name = "amount")
    private Integer amount;
    @Column(name = "remain")
    private Integer remain;
}
